﻿using System;
using System.ComponentModel.DataAnnotations;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace OAWeb.Models
{

    public class TeachingClass
    {
        [Display(Name = "班级")]
        public  int TeachingClassID { get; set; }
        public DepartmentGrade DepartmentGrade { get; set; }
        public int DepartmentGradeID { get; set; }
        [Required]
        [Display(Name = "班级名")]
        public string ClassName { get; set; }
        
        public Teacher Teacher { get; set; }
        public int TeacherID { get; set; }
        public List<Student> Student { get; set; }

    }
}